// 停车场信息模块

const express = require('express')
const db = require('../mysql')

const router = express.Router()

const parkingHandler = require('../router_handler/parking')

// 新增停车场
router.post('/parking/add', parkingHandler.parkingAdd)
// 删除停车场
router.get('/parking/delete', parkingHandler.parkingDelete)
// 获取停车场列表
router.post('/parking/list', parkingHandler.parkingList)
// 获取停车场详情
router.get('/parking/detail', parkingHandler.parkingDetail)
// 编辑停车场
router.post('/parking/edit', parkingHandler.parkingEdit)
// 修改禁启用状态
router.get('/parking/changeEnable', parkingHandler.parkingEnable)



// web端
// 停车场
router.get('/web/parking', parkingHandler.webParking)



module.exports = router



